WPDesk\FS\TableRate\FreeShipping\FreeShippingNoticeGenerator S

Total Complexity 33
Dependencies 5
Dependents 2
Total lines 192
Lines of code 78
Logical lines of code 37
Comment lines 84
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
get_lowest_free_shipping_limit()
S
56 7 17
has_shipping_rate_with_free_shipping()
S
61 5 13
add_free_shipping_notice_if_should()
S
65 5 8
has_free_shipping_rate()
S
66 4 8
has_shipping_method_free_shipping_notice_enabled()
S
69 4 6
get_cart_value()
S
78 2 3
__construct()
S
77 1 4
hooks()
S
78 1 3
get_shipping_packages_count()
S
80 1 3
add_free_shipping_amount_to_session()
S
72 1 5
is_excluded_shipping_method()
S
74 1 4
is_package_rate_from_flexible_shipping()
S
75 1 4